package com.zpkj.portal;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.zpkj.base.MyMapper;

import tk.mybatis.spring.annotation.MapperScan;

@ComponentScan
@MapperScan(basePackages = { "com.zpkj.portal.dao.mapper" }, markerInterface = MyMapper.class)
@EnableDiscoveryClient
@SpringBootApplication
@EnableTransactionManagement
// @EnableConfigurationProperties({ EnvironmentConfig.class })
public class ScUcApplication {

	public static void main(String[] args) {
		SpringApplication.run(ScUcApplication.class, args);
	}
}
